package com.gitee.chili.leisure.service;

import com.gitee.chili.leisure.base.BaseService;
import com.gitee.chili.leisure.domain.Account;
import com.gitee.chili.leisure.enums.CurrencyToken;
import com.gitee.chili.leisure.repository.AccountRepository;

import java.util.Optional;

/**
 * IAccountService
 *
 * @author week solider
 * @since 2020.09.01
 */
public interface IAccountService extends BaseService<Long, Account, AccountRepository> {

    Optional<Account> getBalance(CurrencyToken token, Long memberId);
}
